package com.bing.controller;

import com.bing.properties.GirlProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * Created by ZhouBing on 2017/7/27.
 * 
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @Autowired
    private GirlProperties girlProperties;

    //@RequestMapping(value="/say",method = RequestMethod.GET)
    @GetMapping(value="/say")
    public String say(@RequestParam(value = "id",required = false,defaultValue = "00000001") String reqId)
    {
        return reqId;
    }
}
